/**
 * Created by Administrator on 2019/6/4.
 */
function jd(n) {
    if ( n===1){
        return 1;
    }else {
        return n * jd(n-1);
    }
}
console.log(jd(5));